package com.houseService.serviceCategories.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.houseService.common.core.page.TableDataInfo;
import com.houseService.serviceCategories.domain.ServiceCategories;
import com.houseService.serviceCategories.vo.ServiceCategoriesVo;

import java.util.List;

/**
 * 服务分类管理Service接口
 *
 * @author LiuChunlin
 * @date 2025-03-19
 */
public interface IServiceCategoriesService extends IService<ServiceCategories> {

    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    TableDataInfo<ServiceCategoriesVo> queryList(ServiceCategoriesVo entity);

    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<ServiceCategoriesVo> queryAll(ServiceCategoriesVo entity);

    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    ServiceCategoriesVo queryById(Long id);
}
